package com.foreknow.dao;

import com.foreknow.bean.User;

/**
 * 接口作用:对user操作
 */
public interface UserDao {
    /**
     * 添加用户
     * @param user
     * @return
     */
    public boolean addUser(User user);

    /**
     * 根据uid删除用户
     * @param uid
     * @return
     */
    public boolean deleteById(String uid);

    /**
     * 查询所有用户信息
     * @return
     */
    public User[] getQueryAll();

    /**
     * 根据uid查询员工信息
     * @param uid
     * @return
     */
    public User getQueryById(String uid);
}
